package com.cxkj.shop.model;

public class DefaultMessage implements Message {

	// 企业id
	private String userid;
	// 发送用户帐号
	private String account;
	// 发送帐号密码
	private String password;
	// 全部被叫号码
	private String mobile;
	// 发送内容
	private String content;
	// 定时发送时间
	private String sendTime;
	// 发送任务命令
	private String action;
	// 扩展子号
	private String extno;

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.cxkj.shop.model.Message#getUserid()
	 */
	@Override
	public String getUserid() {
		return userid;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.cxkj.shop.model.Message#setUserid(java.lang.String)
	 */
	@Override
	public void setUserid(String userid) {
		this.userid = userid;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.cxkj.shop.model.Message#getAccount()
	 */
	@Override
	public String getAccount() {
		return account;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.cxkj.shop.model.Message#setAccount(java.lang.String)
	 */
	@Override
	public void setAccount(String account) {
		this.account = account;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.cxkj.shop.model.Message#getPassword()
	 */
	@Override
	public String getPassword() {
		return password;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.cxkj.shop.model.Message#setPassword(java.lang.String)
	 */
	@Override
	public void setPassword(String password) {
		this.password = password;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.cxkj.shop.model.Message#getMobile()
	 */
	@Override
	public String getMobile() {
		return mobile;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.cxkj.shop.model.Message#setMobile(java.lang.String)
	 */
	@Override
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.cxkj.shop.model.Message#getContent()
	 */
	@Override
	public String getContent() {
		return content;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.cxkj.shop.model.Message#setContent(java.lang.String)
	 */
	@Override
	public void setContent(String content) {
		this.content = content;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.cxkj.shop.model.Message#getSendTime()
	 */
	@Override
	public String getSendTime() {
		return sendTime;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.cxkj.shop.model.Message#setSendTime(java.lang.String)
	 */
	@Override
	public void setSendTime(String sendTime) {
		this.sendTime = sendTime;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.cxkj.shop.model.Message#getAction()
	 */
	@Override
	public String getAction() {
		return action;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.cxkj.shop.model.Message#setAction(java.lang.String)
	 */
	@Override
	public void setAction(String action) {
		this.action = action;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.cxkj.shop.model.Message#getExtno()
	 */
	@Override
	public String getExtno() {
		return extno;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.cxkj.shop.model.Message#setExtno(java.lang.String)
	 */
	@Override
	public void setExtno(String extno) {
		this.extno = extno;
	}

	@Override
	public String buildMessageBody() {
		return this.getContent();
	}

}
